﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Yqd.Models
{
    public class Yqd_SpecialTemplate
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int TemplateID { get; set; }

        [DisplayName("专项任务编号")]
        public int TaskID { get; set; }

        [DisplayName("专项任务类别编号")]
        public int TypeID { get; set; }

        [DisplayName("字段编号")]
        [StringLength(50)]
        public string FieldID { get; set; }

        [DisplayName("字段名称")]
        [StringLength(50)]
        public string Name { get; set; }

        [DisplayName("是否公用")]
        public bool IsGeneral { get; set; }

        [DisplayName("排序")]
        public int Tactic { get; set; }

        [DisplayName("创建时间")]
        public DateTime Instime { get; set; }

        [DisplayName("创建者")]
        [StringLength(50)]
        public string EmployeeCode { get; set; }

        [DisplayName("创建者单位")]
        [StringLength(50)]
        public string UnitCode { get; set; }
    }

}
